package com.itobase.statusDetect.Repository;

import com.itobase.statusDetect.Model.Teaching;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

/**
 * @author htyu
 * @date 2019/2/24
 */
public interface TeachingRepository extends MongoRepository<Teaching,String> {

    List<Teaching> findByTimeID(String id);

    List<Teaching> findByClassroomID(String id);

    List<Teaching> findByCourseID(String id);
}
